/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.yunhoo.cqq.model;

import com.yunhoo.sys.util.common.LoginParam;
import java.util.Date;

/**
 * 上传的文件实体类
 * @author hongli
 */
public class Document implements java.io.Serializable{
    private int id;//文档编号
    private String title;//文档标题
    private Date uploadDate;//上传日期
    private String docSize;//文档大小
    private String description;//文档详细描述
    private String userName;//上传人姓名
    private DocumentType type = new DocumentType();//文档类型
    private String url;//文件存储路径
    private boolean  showflag;
//    private String type;
    private String orgCode;
    public Document() {
        orgCode = LoginParam.getOrg().getCode();
    }

    public boolean isShowflag() {
        return showflag;
    }

    public void setShowflag(boolean showflag) {
        this.showflag = showflag;
    }




    
    public String getDescription() {
        return description;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDocSize() {
        return docSize;
    }

    public void setDocSize(String docSize) {
        this.docSize = docSize;
    }

   

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public DocumentType getType() {
        return type;
    }

    public void setType(DocumentType type) {
        this.type = type;
    }

   

    public Date getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(Date uploadDate) {
        this.uploadDate = uploadDate;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
}
